home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
metkit
/
catalog.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-06-07
|
919b
|
23 lines
// Copyright (C) 1996, 1997 Meta Four Software. All rights reserved.
//
// Recursive directory scanner sample code
//
//! rev="$Id: catalog.h,v 1.3 1997/05/27 00:06:35 jcw Rel $"
/////////////////////////////////////////////////////////////////////////////
// The following properties are used in this code
extern c4_ViewProp pFiles;
extern c4_IntProp pParent, pSize, pDate;
extern c4_StringProp pName;
// Scan a directory tree and return a corresponding structure for it.
// The data structure of the object returned by this routine is:
// [parent:i, name:s, files [name:s, size:i, date:i]]
extern c4_View fScanDirectories(const char* path_);
// Reconstruct the full path name from a subdirectory index in the tree
extern c4_String fFullPath(c4_View& dirs_, int dirNum_);
/////////////////////////////////////////////////////////////////////////////